<template>
 <div>
   <div :src=ip></div>
   <iframe src='https://ie.cnki.net/KCMS/detail/detail.aspx?dbcode=&dbname=SYSTLKCCNDLAST2022&filename=SHYO202209140010&pcode=SYST'  width="100%"  frameborder="0" name="iframea"></iframe>
   <p><a :href=ip target="iframea">BAIDU.COM</a></p>　
 </div>
</template>

<script>
export default {
  name: "cnki",
  data() {
    return {
      tableName:'',
      fileName:'',
      ip:''
    }
  },
  mounted() {
    //console.log(this.tableName,this.tableName)
    this.tableName = this.$route.query.tableName
    this.fileName = this.$route.query.fileName
    this.ip='https://kns.cnki.net/kcms/detail/detail.aspx?dbcode=CAPJ&dbname='+this.tableName+'&filename='+this.fileName
  }
}
</script>

<style scoped>

</style>